package com.bj.crm.web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    /*
        理论上给controller分配url：http://127.0.0.1:8080/crm/
        为了简便，协议：//：prot/应用名称必须省去，用/代表根目录下的/
     */
    @RequestMapping("/")
    public String index(){
        //请求转发
        return "index";
    }


}
